package com.personnalManagerSystem.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.personnalManagerSystem.model.Department;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author liqing
 * @since 2022-03-27
 */
@Mapper
public interface DepartmentMapper extends BaseMapper<Department> {
    @Select("select * from department where department_name=#{departmentName}")
    Department checkDepartmentName(String departmentName);
}
